﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EmailSetting.aspx.cs" Inherits="WMS6.Web.Administration.EmailSetting" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>EmailSetting</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />

    <script src="../Js/jquery.js" type="text/javascript"></script>

    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>

    <script src="../Js/util.js" id="js" type="text/javascript"></script>

    <script src="../Js/InitPage.js" type="text/javascript"></script>

    <script src="../Js/Verification.js" type="text/javascript"></script>

    <script type="text/javascript">
        //初始化页面
        window.onload = function(){
            initEditNewPage();
        }        
        
    </script>

</head>
<body>
    <form id="F1881" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <div id="div_top">
            <table>
                <tr>
                    <td valign="bottom">
                        <asp:Label ID="lblEmailSetting" runat="server" CssClass="label_header" Text="E-Mail设置"></asp:Label>
                    </td>
                    <td>
                        <asp:Button ID="btnGoBack" runat="server" CssClass="button" Enabled="False" Text="<%$ Resources:ButtonResource,btnGoBack %>"
                            CausesValidation="False" OnClick="btnGoBack_Click" meta:resourcekey="btnGoBackResource1" />
                    </td>                   
                    <td>
                        <asp:Button ID="btnSave" runat="server" CssClass="button" Enabled="False" Text="<%$ Resources:ButtonResource,btnSave %>"
                            AccessKey="s" OnClick="btnSave_Click" meta:resourcekey="btnSaveResource1" />
                    </td>
                </tr>
            </table>
        </div>
        <asp:UpdatePanel ID="up1" runat="server">
            <ContentTemplate>
                <div>
                    <asp:Label ID="lblMsg" runat="server" CssClass="label_message" meta:resourcekey="lblMsg"></asp:Label>
                </div>
                <div id="div_menu">
                    <div style="float: left; width: 8px;">
                        <div class="tabL" id="imgL1">
                        </div>
                    </div>
                    <div class="tabLabelCont tabCur" id="div1">
                        <asp:Label ID="one1" CssClass="hover" runat="server" meta:resourcekey="one1">常规</asp:Label>
                    </div>
                    <div style="float: left; margin-right: 2px;">
                        <div class="tabR" id="imgR1">
                        </div>
                    </div>
                </div>
                <div id="div_content">
                    <div id="con_one_1" style="display: block;">
                        <table width="360" style="display: block; margin-left: 10px; margin-top: 10px;">
                            <tr>
                                <td>
                                    <asp:Label CssClass="label" ID="lblEmailSettingID" runat="server" Text="E-Mail代码"></asp:Label>
                                    <font color="red">*</font>
                                </td>
                                <td>
                                    <asp:Label CssClass="label" ID="lblDescription" runat="server" Text="描述"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtEmailSettingID" runat="server" CssClass="textbox"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtDescription" runat="server" CssClass="textbox"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label CssClass="label" ID="lblSMTP" runat="server" Text="SMTP"></asp:Label>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtSmtp" runat="server" CssClass="textbox"></asp:TextBox>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label CssClass="label" ID="lblEmailAccount" runat="server" Text="邮箱账号" meta:resourcekey="lblVeriMethod"></asp:Label>
                                </td>
                                <td>
                                    <asp:Label CssClass="label" ID="lblAddressee" runat="server" Text="收件人" meta:resourcekey="lblOutLoc"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtEmailAccount" runat="server" CssClass="textbox"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtAddressee" runat="server" CssClass="textbox"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label CssClass="label" ID="lblEmalPwd" runat="server" Text="邮箱密码"></asp:Label>
                                </td>
                                <td>
                                    <asp:Label CssClass="label" ID="lblCarbonCopy" runat="server" Text="抄送" meta:resourcekey="lblOutLoc"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtEmalPwd" runat="server" TextMode="Password" CssClass="textbox"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtCarbonCopy" runat="server" CssClass="textbox"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label CssClass="label" ID="lblContent" runat="server" Text="内容"></asp:Label>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2" width="360px">
                                    <asp:TextBox ID="txtContent" runat="server" CssClass="largetextarea" 
                                        TextMode="MultiLine"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label CssClass="label" ID="lblRemark" runat="server" Text="备注"></asp:Label>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td width="360px" colspan="2">
                                    <asp:TextBox ID="txtRemark" runat="server" TextMode="MultiLine" runat="server" CssClass="largetextarea"></asp:TextBox>
                                </td>
                            </tr>
                            <tr height="10px">
                                <td>
                                </td>
                                <td>
                                </td>
                            <tr>
                                <td>
                                    <asp:CheckBox ID="chkIsHTML" runat="server" CssClass="checkbox" 
                                        Text="以HTML形式发送" />
                                </td>
                                <td>
                                    <asp:CheckBox ID="chkISRegularSend" runat="server" CssClass="checkbox" 
                                        Enabled="false" Text="是否定时发送" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:CheckBox ID="chkIsActive" runat="server" CssClass="checkbox" 
                                         meta:resourcekey="chkSysCreate" Text="是否启用" />
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr height="10px">
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </ContentTemplate>
            <Triggers>
                <asp:AsyncPostBackTrigger ControlID="btnSave" EventName="Click" />
            </Triggers>
        </asp:UpdatePanel>
        <input type="hidden" id="hdnFrom" runat="server" />
         <input type="hidden" id="hdnPassword" runat="server" />
    </div>
    </form>
</body>
</html>
